﻿using System.ComponentModel.DataAnnotations;

namespace Back_end.APIModels
{
	public class UserComplaintBindingModel
	{
		[Required]
		public string UserName
		{ get; set; }

		[Required]
		public string ComplaintId
		{ get; set; }
	}

	//[System.Web.Mvc.Bind(Include = "UserName,Text,PicturePath,Company,Location,Tag")] string coor

	public class ComplaintBindingModel
	{
		[Required]
		public string UserName
		{ get; set; }

		public string Text
		{ get; set; }

		public string PicturePath
		{ get; set; }

		public string Company
		{ get; set; }

		public string Location
		{ get; set; }

		public string Tag
		{ get; set; }

		public string Coordinate
		{ get; set; }
	}
}